package com.csinc.generate.core.base.beelt;

import com.csinc.generate.core.config.properties.CsincProperties;
import com.csinc.generate.core.utils.spring.SpringContextHolder;

/**
 * 验证码工具类
 * Create By 郭金宝 on 2018/7/31.<br>
 */
public class KaptchaUtil {
    public static Boolean getKaptchaOnOff() {
        return SpringContextHolder.getBean(CsincProperties.class).getKaptchaOpen();
    }
}
